package senpec.qc.harmony.system.role.menu;

import org.springframework.transaction.annotation.Transactional;
import senpec.qc.harmony.base.mybatisplus.IBaseService;
import senpec.qc.harmony.base.mybatisplus.Result;

import java.util.List;


public interface MenuService extends IBaseService<Menu> {

    @Transactional(rollbackFor = Exception.class)
    default Result<?> resetMenusByRoleId(MenuDTO menuDTO) {
        return null;
    }

    default Result<List<String>> getMenuTitleListByUserId(Long userId) {
        return null;
    }

}
